<!DOCTYPE HTML>
<html lang="en-US">
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<head>
<meta http-equiv=content-type content="text/html; charset=iso-8859-1">
<meta name="DC.title" content="Bureau of Economic Analysis" />
<meta name="DC.creator" content="US Department of Commerce, BEA, Bureau of Economic Analysis" />
<meta name="DC.language" scheme="DCTERMS.RFC4646" content="EN-US" />

<link rel="P3Pv1" href="/w3c/p3p.xml">
<link rel="alternate" type="application/rss+xml" title="BEA - Current Release (RSS)" href="/rss/rss.xml">

<meta name="apple-mobile-web-app-title" content="BEA">
<meta name="application-name" content="BEA">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-TileImage" content="/mstile-144x144.png?v=9BBR3Ay64f">
<meta name="theme-color" content="#ffffff">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png?v=9BBR3Ay64f">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png?v=9BBR3Ay64f">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png?v=9BBR3Ay64f">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png?v=9BBR3Ay64f">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png?v=9BBR3Ay64f">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png?v=9BBR3Ay64f">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png?v=9BBR3Ay64f">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png?v=9BBR3Ay64f">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png?v=9BBR3Ay64f">
<link rel="icon" type="image/png" href="/favicon-32x32.png?v=9BBR3Ay64f" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon-194x194.png?v=9BBR3Ay64f" sizes="194x194">
<link rel="icon" type="image/png" href="/favicon-96x96.png?v=9BBR3Ay64f" sizes="96x96">
<link rel="icon" type="image/png" href="/android-chrome-192x192.png?v=9BBR3Ay64f" sizes="192x192">
<link rel="icon" type="image/png" href="/favicon-16x16.png?v=9BBR3Ay64f" sizes="16x16">
<link rel="manifest" href="/manifest.json?v=9BBR3Ay64f">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=9BBR3Ay64f" color="#5bbad5">
<link rel="shortcut icon" href="/favicon.ico?v=9BBR3Ay64f">

<!--CSS Frameworks -->
<link rel="stylesheet" type="text/css" href="/_css/reset_global.css" >
<link rel="stylesheet" type="text/css" href="/_framework/jquery-ui-1.11.4/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="/_framework/bootstrap-3.3.6-dist/css/bootstrap.css">

<link rel="stylesheet" type="text/css" href="/_css/jquery-override.css">
<link rel="stylesheet" type="text/css" href="/_css/bea_refresh-bootstrap-fix.css">
<link rel="stylesheet" type="text/css" href="/_css/bea_refresh.css">

<link rel="stylesheet" type="text/css" href="/_scripts/fancybox2/jquery.fancybox.css">


<!--Javascript Frameworks -->
<script src="/_framework/jquery-1.12.3.min.js"></script>
<script src="/_framework/jquery-ui-1.11.4/jquery-ui.min.js"></script>
<script src="/_framework/bootstrap-3.3.6-dist/js/bootstrap.min.js"></script>

<!--Javascript - Fancybox -->
<script type="text/javascript" src="/_scripts/fancybox2/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="/_scripts/fancybox2/jquery.fancybox-media.js"></script>

<!--Analystics -->
<script type="text/javascript" src="/_scripts/federated-analytics.js?agency=DOC&subagency=BEA" id="_fed_an_ua_tag"></script>

<script type="text/javascript">
	//$(document).ready(function() {
//		$(".fancybox").fancybox({
//			helpers : {
//				media: true
//			}
//		});
//	});
	function MM_jumpMenu(targ,selObj,restore){ //v3.0
	  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	  if (restore) selObj.selectedIndex=0;
	}
	
	function MM_findObj(n, d) { //v4.0
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && document.getElementById) x=document.getElementById(n); return x;
	}
	
	function MM_jumpMenuGo(selName,targ,restore){ //v3.0
	  var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
	}
</script>


<script type="text/javascript">
    // Instructions: please embed this snippet directly into every page in your website template.
    // For optimal performance, this must be embedded directly into the template, not referenced
    // as an external file.

    // Answers Cloud Services Embed Script v1.02
    // DO NOT MODIFY BELOW THIS LINE *****************************************
    ;(function (g) {
        var d = document, i, am = d.createElement('script'), h = d.head || d.getElementsByTagName("head")[0],
                aex = {
                    "src": "//gateway.answerscloud.com/bea-gov/production/gateway.min.js",
                    "type": "text/javascript",
                    "async": "true",
                    "data-vendor": "acs",
                    "data-role": "gateway"
                };
        for (var attr in aex) { am.setAttribute(attr,aex[attr]); }
        h.appendChild(am);
        g['acsReady'] = function () {var aT = '__acsReady__', args = Array.prototype.slice.call(arguments, 0),k = setInterval(function () {if (typeof g[aT] === 'function') {clearInterval(k);for (i = 0; i < args.length; i++) {g[aT].call(g, function(fn) { return function() { setTimeout(fn, 1) };}(args[i]));}}}, 50);};
    })(window);
    // DO NOT MODIFY ABOVE THIS LINE *****************************************
</script>


<!-- SHARE THIS Code ===================================================================================== -->
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript">
			function share(url, title) {
				var object = SHARETHIS.addEntry({
				title: title,
				url: url
				});
				
				//object.attachButton(document.getElementById('shareURLContainer_geno'));
				object.popup();
				}
				
			</script>
<!-- SHARE THIS Code ===================================================================================== -->


<script type="text/javascript" src="/iTable/js/modalFunctions.js"></script>




<script type="text/javascript">


$(document).ajaxStart(function() {lockScreen();});
$(document).ajaxStop(function(){$( "#dialog-modal" ).dialog( "close" );});

//---------------------Save Process Functions---------------------------------------------------

var context = 'login';

function showSaveProcess()
{	
	context = 'save';
	var stat = getStatus(); 
	if(stat == 'false') 
		getSignInForm();
	else
	{
		getPromptUI('saveForm',null,'Add Query', null, 430,{ Save:function(){saveProcess()} } );
	}
}

function saveProcess()
{
		txtLink = $('#getLink').html();
		DOM_form = $('#hidden_save_link');
		DOM_form.val(txtLink);
		sendRequest('/iTable/CFC/savedRequests.cfc?method=saveRequest&reqid='+0,'saveProcessForm',"saveResultHandler", "JSON")
	//ColdFusion.Ajax.submitForm('saveProcessForm','CFC/savedRequests.cfc?method=saveRequest&reqid='+0,saveResultHandler, saveErrorHandler, "POST");
}

function saveResultHandler(result)
{
	showPrompt('myItables');
}

function saveErrorHandler()
{
	alert('Error! Either your Session has expired or we were unable to complete you requested. Please try again later.');
}


function closeSaveProcess()
{	
	$('#center_div').empty(); 
}


function deleteRequest(saveid)
{	
	sendRequest('/iTable/CFC/savedRequests.cfc?method=deleteRequestAjax&saveId='+saveid,'deleteRequestForm','deleteRequestResultHandler');
	//ColdFusion.Ajax.submitForm('deleteRequestForm','CFC/savedRequests.cfc?method=deleteRequestAjax&saveId='+saveid,deleteRequestResultHandler, saveErrorHandler, "POST");
}
function deleteRequestResultHandler()
{
	bts = {Close: function() {$( this ).dialog( "close" );}}
	showMessage('<div class="alert2 alert-success"><p>Delete successful!</p></div>','info',420,200,bts,function(){deleteRequestResultHandlerCallBack();});
}
function deleteRequestResultHandlerCallBack()
{
	showPrompt('myItables');	
}
// ------------------------------ ajax login functions ---------------------------------------------------

function showDownload(hashCode)
{
	getPromptUI('download', hashCode,'Download', 520, 360 );
}

function getHelp(helpModule)
{
	result = '<div id="helptabs" style="min-width:900px;"><ul><li><a href="/iTable/help/main.html">Main</a></li><li><a href="/iTable/help/account.html">Your Account</a></li><li><a href="/iTable/help/navigation.html">Navigation</a></li><li><a href="/iTable/help/tables.html">Tables</a></li><li><a href="/iTable/help/charting.html">Charting</a></li><li><a href="/iTable/help/mapping.html">Mapping</a></li></ul></div>';
	getHelpCallBack(result);
	
	$( "#helptabs" ).tabs({
      beforeLoad: function( event, ui ) 
	 {
        ui.jqXHR.error(function() {
          ui.panel.html(
            "Couldn't load this tab. We'll try to fix this as soon as possible. ");
        });
      },
	 load: function( event, ui ) 
	 {
		if($('#accordionHelp').length)
		{
			$('#accordionHelp').accordion({ active: false, collapsible: true, heightStyle: "content" });
		}
		setTimeout(function(){
			resizePrompt();
		},10);
	},
	heightStyle: "content"
    });
	//sendRequest('/iTable/cfc/help/getHelp.cfc?method=getHelp&helpItem='+helpModule,null,'getHelpCallBack');
}


function loadHelpTab(name)
{
	if($('#helptabs').length)
	{
		switch(name)
		{
			case 'account':
				$( "#helptabs" ).tabs( "option", "active", 1 );
				break;
			case 'navigation':
				$( "#helptabs" ).tabs( "option", "active", 2 );
				break;
			case 'table':
				$( "#helptabs" ).tabs( "option", "active", 3 );
				break;
			case 'charting':
				$( "#helptabs" ).tabs( "option", "active", 4 );
				break;
			case 'mapping':
				$( "#helptabs" ).tabs( "option", "active", 5 );
				break;		
			default:
				$( "#helptabs" ).tabs( "option", "active", 0 );
		}
	}	
}

function getHelpCallBack(result)
{
	getPromptUISuccessHandler(result,'Interactive Tables Help',null, .6)	
}

function showPrompt(formtype)
{	
	if (formtype == 'login')
	{
		context = 'myItables';
		getSignInForm();
	}
	else if(formtype == 'register')
	{
		getPromptUI('registerForm',null,'Register', 500, 350,{ Register:function(){LogIn()} } );
		context = 'myItables';
		bindPromptContainer("LogIn()");
	}
	else if(formtype == 'myItables' || formtype == 'acctDetails')
	{
		
		context = 'myItables';
		var stat = getStatus(); 
		if(stat == 'false') {
			getSignInForm();}
		else
		{
			if(formtype  == 'acctDetails' )
				getPromptUI('acctDetails',null,'Account Details',500, 250);
			else
				getPromptUI('myItables',null,'Saved Queries');
		}
		
	}
	else if(formtype == 'RetrivePasswordForm')
	{
		getPromptUI('RetrivePasswordForm',null,'Retrieve Password', 500, 220,{ Submit:function(){retrivePassword()} } );
		bindPromptContainer("retrivePassword()");
	}
}

function getSignInForm()
{
	getPromptUI('loginForm',null,'Sign In', 500, 290,{ Continue:function(){LogIn()} } );	
	bindPromptContainer("LogIn()");
}
function bindPromptContainer(fname)
{
	$('#prompt_container').unbind('keypress');
	$('#prompt_container').bind('keypress', function(e) {
		 var code = (e.keyCode ? e.keyCode : e.which);
		 if(code == 13) { //Enter keycode<br />
		 	eval(fname);
			return false;
		 }
		});	
}

function togleFiterForm(reqid)
{	
		sendRequest('/iTable/cfc/popUpPrompts/getFilterForm.cfc?method=getFilterForm&reqid='+reqid,null,'toggleFilterFormCallBack');
}
function toggleFilterFormCallBack(result)
{
		xmlDoc=parseXmlString(result);
		if (xmlDoc.getElementsByTagName("error")[0])
		{
			bts = {Ok: function() {$( this ).dialog( "close" ); window.location='http://www.bea.gov/iTable/';}};
			showMessage('Your Session has Expired!','warning',400,180,bts,bts.Ok);
		}
		else
		{
			t = $($(xmlDoc).find('#filter_table_function_call')[0]).attr("value");
			numprompts =  $(xmlDoc).find('#promptContainer').length;
			numMultSelect = $(xmlDoc).find("select[multiple],select[size=4],select[size=6]").length;
			h = (numprompts * 70) + (numMultSelect * 110) + 80;
			buttons = {'Refresh Table':function(){eval(t); $( this ).dialog( "close" );}};
			getPromptUISuccessHandler(result,"Data Table Options",600,h,buttons)
		}	
}

// ---------- DEFINITION FUNCTIONS -----
function getDefinition(did, reqid, el)
{
	url = "/iTable/cfc/getDefinition.cfc?method=getDefinition&reqid="+reqid+"&defid="+did;
	sendRequest(url,null,'getDefinitionCallBack',null, el);
}
function getDefinitionCallBack(result,el)
{
	$('#tooltiptext').html(result); 
	showDefinitions($(el).text());
}

// ---------------------------//------------------------------------------
function synchCall(url)
{
	$.ajax({ 
			url: url, 
			async:false,
			cache:false,
			success:function(data, textStatus, jqXHR)
			{
				result = jqXHR.responseText;
			},
			error:function(jqXHR, textStatus, errorThrown)
			{
				showMessage('Error ocourred!<br>'+textStatus,'warning');
			}
		});
		return result;
}


function getStatus()
{
	return synchCall("/iTable/cfc/getPromptUI.cfc?method=getStatus");
}

function getPromptUI(promptName,hashCode,tit,w,h,buttons)
{
	data={"promptName":promptName};
	if(hashCode)
		data.hashCode = hashCode;
	$.ajax({ 
		type: "POST", 
		url: "/iTable/cfc/getPromptUI.cfc?method=getPromptUI", 
		data:data,
		async:true,
		cache: false,	
		dataType: "XML",
		success:function(data, textStatus, jqXHR)
		{
			getPromptUISuccessHandler(jqXHR.responseText,tit,w,h,buttons)
		},
		error:function(jqXHR, textStatus, errorThrown)
		{
			showMessage('Error ocourred!<br>'+textStatus,'warning');
		}
	});
}

function getPromptUISuccessHandler(jqXHR,tit,w,h,buttons)
{
	togleChartTable('table');
	$( "#prompt_container" ).empty().append(jqXHR);
	
	if(tit=='Saved Queries')
	{
		$("#user_entries tr").hover(     
			function(){$(this).children("td").addClass("ui-state-hover");},     
			function(){$(this).children("td").removeClass("ui-state-hover");}    
		); 	
		$(".entries_delete, #update_user_email_link, #delete-account-button").button();
		if(!$('#user_entries').length){h=380}
		h=$('#user_entries tr').length * 20 + 380;
		//alert($('#user_entries tr').length * 20 + 380);
	}
	showPrompts(tit,w,h,buttons);
}

function sendRequest(url,formID,callBackFunction,dataType,params,errorHandler)
{
	if(!dataType)dataType = "XML";
	data={};
	if(formID)data=$('#'+formID).serialize();
	$.ajax({ 
				type: "POST", 
				url: url, 
				data:data,
				cache: false,	
				dataType: dataType,
				success:function(data, textStatus, jqXHR)
				{
					window[callBackFunction](jqXHR.responseText, params);
				},
				error:function(jqXHR, textStatus, errorThrown)
				{
					if(errorHandler!=null)
						window[errorHandler]();
					else
						showMessage('<strong style="color:red;font-size:1em;">Error ! </strong> <br/>We were unable to complete your request. <br/>Please try again later.','warning',400,200);
				}
			});	
}


function LogIn()
{
	sendRequest('CFC/Services/ajaxLogin.cfc?method=ajaxLogin','loginForm','loginResultHandler');
}
function retrivePassword()
{
	sendRequest('CFC/Services/ajaxLogin.cfc?method=ajaxRetrivePassword','RetrivePasswordForm','retrievePwdResultHandler');
}


function parseXmlString(text)
{
	 
	if (window.DOMParser)
	  {
	  parser=new DOMParser();
	  xmlDoc=parser.parseFromString(text,"text/xml");
	  }
	else // Internet Explorer
	  {
	  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
	  xmlDoc.async="false";
	  xmlDoc.loadXML(text); 
	  }  
	return xmlDoc;
}

function retrievePwdResultHandler(result)
{
	xmlDoc=parseXmlString(result);
	$('#error_wrapper').html(result); 
}

function loginResultHandler(result)
{
	xmlDoc=parseXmlString(result);
	if (xmlDoc.getElementsByTagName("string")[0])
	{	
		t = onLogIn();
		$( "#prompt_container" ).dialog( "close" );
		if (context == 'save')
		{
			showSaveProcess();
		}
	}
	else
		$('#error_wrapper').html(result); 
}
function onLogIn()
{
	var links =  getsLoginLinks();
	$('#loginLinks').html(links); 
}

function loginErrorHandler(result)
{
	alert('Error! We were unable to complete your request. Please try again later.');
}



function  logOut()
{
	sendRequest('/iTable/CFC/Services/ajaxLogin.cfc?method=ajaxLogOut',null,'onLogOut');
}


function getsLoginLinks()
{
	return synchCall('/iTable/cfc/promptElems/parseToolBox.cfc?method=getLoginLinks');
}

function onLogOut()
{
	$('#loginLinks').html(getsLoginLinks());
	if($('#logInButton').length)
	{
		var resultButton = getsLoginButtons();
		var divtags;
		
		divtags = document.getElementsByTagName('div');
		for(i=0;i<divtags.length;i++)
		{
			if(divtags[i].getAttribute('id') == 'logInButton' )
			{
				divtags[i].innerHTML = resultButton;
			}
		}
	}
}




// ------------------------ Account Functions UPDATE / DELETE ---------------------------------

function updateAccount()
{
	sendRequest('CFC/Services/ajaxLogin.cfc?method=ajaxUpdateAccount','updateAccount','updateAccountResultHandler');
	//ColdFusion.Ajax.submitForm('updateAccount','CFC/Services/ajaxLogin.cfc?method=ajaxUpdateAccount',updateAccountResultHandler, loginErrorHandler, "POST");
}

function updateAccountResultHandler(result)
{
	$('#updateAccount').html(result); 
	$(".entries_delete, #update_user_email_link, #delete-account-button").button();
	onLogIn();
	tr = setTimeout("clearStatus()",3000);
	
}

function clearStatus()
{	
	$('#updateStatusDiv').css('display','none');
}



function deleteAccount()
{
	var r=confirm("This change cannot be undone! Are you sure you want to Delete your account permanently?");
		
	if (r==true)
		sendRequest('CFC/Services/ajaxLogin.cfc?method=ajaxDeleteAccount',null,'deleteAccountResultHandler');
		//ColdFusion.Ajax.submitForm('deleteAccountForm','CFC/Services/ajaxLogin.cfc?method=ajaxDeleteAccount',deleteAccountResultHandler, loginErrorHandler, "POST");

}

function deleteAccountResultHandler()
{
	$( "#prompt_container" ).dialog('close');
	showMessage('Your account and everything associated with it was deleted from our system!','info', 400,200);
	//alert('Your account and everything associated with it was deleted from our system!');
	onLogIn();
}


// chart scripts --------------------------------------------------------------------------------------
function showChart(dataID)
{
	if($('#chartContainer').length)
	{
		var obj = $('#chartContainer');
		if (obj.css('display') == 'none')
		{
			var screenHeight = screen.height*.7  +'px';;	
			if($('#Final_Table_wraper').width()  < screen.width){
				var swidth = $('#Final_Table_wraper').width() - 15  +'px';
				}
			else{
				var swidth = screen.width  - 110 +'px';
				}
			togleChartTable('chart');
			//alert();
		
			loadAmCharts(swidth, screenHeight, dataID);
			//loadFlash(swidth, screenHeight, dataID);
		}
		else 
		{
			togleChartTable('table');
		}
	}
}

function showMap(dataID, context)
{	
	if($('#mapContainer').length)
	{
		togleChartTable('map');
		if (dataID != currentMapHash || context=='loadMap')
		loadFusionMaps(dataID);
	}
}

function togleChartTable(type)
{
	if (type == 'table')
	{
		if ($('#tbl-container').length || $('#tbl-container1').length )
		{
			if ($('#tbl-container').length)
				$('#tbl-container').css('display','block');
			else
				$('#tbl-container1').css('display','block');
			if($('#Final_Table_footer').length)
			{
				$('#Final_Table_footer').css('display','block');
			}
			if ($('#chartIcon').length)
				{
				$('#chartIcon').css('display','block');
				$('#tableIcon').css('display','none');
				$('#chartContainer').css('display','none');
				togleEnableToolbar('enable', 'chart');
			}
			if($('#mapIcon').length)
			{
				$('#mapIcon').css('display','block');
				$('#mapTableIcon').css('display','none');
				$('#mapContainers').css('display','none');
				togleEnableToolbar('enable', 'map');
			}
		}
		resizeTable();
	}
	else if (type == 'chart')
	{
		$('#chartContainer').css('display','block');
		if ($('#tbl-container').length)
				$('#tbl-container').css('display','none');
			else
				$('#tbl-container1').css('display','none');
		if($('#Final_Table_footer').length)
		{
			$('#Final_Table_footer').css('display','none');
		}
		if ($('#mapContainers').length)
			$('#mapContainers').css('display','none');
			
		$('#chartIcon').css('display','none');
		$('#tableIcon').css('display','block');
		
		if ($('#mapIcon').length && $('#mapIcon').css('display') == 'none')
		{
			
			$('#mapIcon').css('display','block');	
			$('#mapIcon_disabled').css('display','none');
			$('#mapTableIcon').css('display','none');
		}
		togleEnableToolbar('disable', 'chart');
	}
	else if (type == 'map')
	{
		if ($('#tbl-container').length)
				$('#tbl-container').css('display','none');
			else
				$('#tbl-container1').css('display','none');
		if($('#Final_Table_footer').length)
			$('#Final_Table_footer').css('display','none');
		if ($('#chartContainer').length)
			$('#chartContainer').css('display','none');
			
		$('#mapContainers').css('display','block');
		$('#mapIcon').css('display','none');
		$('#mapTableIcon').css('display','block');
		
		if ($('#chartIcon').length && $('#chartIcon').css('display') == 'none')
		{
			$('#chartIcon_disabled').css('display','none');
			$('#chartIcon').css('display','block');	
			$('#tableIcon').css('display','none');
		}
		
		togleEnableToolbar('disable', 'map');
	}
}

function togleEnableToolbar(status, caller)
{
	if (status == 'enable')
	{
		if($('#icon_download').length)
		{
			$('#icon_download_disabled').css('display','none');
			$('#icon_download').css('display','block');
		}
		if ($('#icon_tableOptions').length || $('#icon_tableOptions').length)
		{
			$('#icon_tableOptions_disabled').css('display','none');
			$('#icon_tableOptions').css('display','block');
		}
		 
		if($('#icon_shareThis').length)
		{
			$('#icon_shareThis_disabled').css('display','none');
			$('#icon_shareThis').css('display','block');
		}
		
		if($('#icon_print').length)
		{
			$('#icon_print_disabled').css('display','none');
			$('#icon_print').css('display','block');
		}
		if(caller == 'chart' && $('#mapIcon').length)
		{
			$('#mapIcon_disabled').css('display','none');
			$('#mapIcon').css('display','block');
		}
		else
		{
			$('#chartIcon_disabled').css('display','none');
			$('#chartIcon').css('display','block');
		}
	}
	else
	{
		if($('#icon_download').length)
		{
			$('#icon_download_disabled').css('display','block');
			$('#icon_download').css('display','none');
		}
		if ($('#icon_tableOptions_disabled').length || $('#icon_tableOptions').length)
		{
			$('#icon_tableOptions_disabled').css('display','block');
			$('#icon_tableOptions').css('display','none');
		}
		if($('#icon_shareThis'.length))
		{
			$('#icon_shareThis_disabled').css('display','block');
			$('#icon_shareThis').css('display','none');
		}
		if($('#icon_print').length)
		{
			$('#icon_print_disabled').css('display','block');
			$('#icon_print').css('display','none');
		}
		if(caller == 'chart' && $('#mapIcon').length)
		{
			/*$('#mapIcon_disabled').css('display','block');
			$('#mapIcon').css('display','none');*/
		}
		else if (caller == 'map')
		{
			if ($('#icon_tableOptions').length || $('#icon_tableOptions').length)
				{
					$('#icon_tableOptions_disabled').css('display','none');
					$('#icon_tableOptions').css('display','block');
				}
			/*$('#chartIcon_disabled').css('display','block');
			$('#chartIcon').css('display','none');*/
		}
	}
}


function loadFlash(width, height, dataID){
			loadAmCharts(width, height, dataID);
			return;
			
			
			
			
			
			
			
  			var swfVersionStr = "0.0.0";
            <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
            var xiSwfUrlStr = "";
            var flashvars = {};
			flashvars.dataID=dataID; 
			flashvars.dataPath='iTable.cfc.files.getChrtData'; 
			flashvars.advancedChart=false;
            var params = {};
            params.quality = "high";
            params.bgcolor = "#FBFBFB";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            var attributes = {};
            attributes.id = "charting2";
            attributes.name = "charting2";
            attributes.align = "middle";
			
			
			$('#chartContainer').css('width', width);
			$('#chartContainer').css('height', height);
			
			
            swfobject.embedSWF(
			"BeaCharting/charting2.swf", "flashContent", 
			'100%', '99%', 
			swfVersionStr, xiSwfUrlStr, 
			flashvars, params, attributes);
			<!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
			swfobject.createCSS("#flashContent", "display:block;text-align:left;");
}
function loadAmCharts(width, height, d)
{
		currentchartid = d;
		getChartData(d);
}
var currentchartid;
var chartdata = null;
function loadAmChartsCallBack(data)
{
	chartdata = null;
	$('ul#serieslist').empty();
	activeseries = [];
	chartdata = data;
	$("#ChartTypeBtnContainer").empty();
	if(chartdata.VALIDCHARTTYPES.indexOf(charttype) ===-1 && chartdata.VALIDCHARTTYPES.length > 0)
		charttype = chartdata.VALIDCHARTTYPES[0] == "LineChart" ? 'line' : 'column' ;
	$(chartdata.VALIDCHARTTYPES).each(function(i, e) {
		var ctype= 'column';
		if(e=="LineChart")
			ctype = 'line';
		var cls = ''
		if(ctype == charttype)
			cls = 'selected'; 
		var tmp = $('<a id="'+e+'Btn" class="chartSelectBtn '+cls+'" onClick="changeType(\''+ctype+'\',this)"></a>');
		$("#ChartTypeBtnContainer").append(tmp);
	});
	
	
	$(chartdata.SERIES).each(function(i, e) {
		e.ID = i;
		var name = e.NAME.trim();
		var ind = parseInt(e.IL) || 0;
		if(ind === 0)
			ind = parseInt(e.PADDING) || 0;
		var len = 40; 
		var cls = "";
		if(e.BOLD === 1 || e.BOLD.toString().toUpperCase() == "BOLD")
		{
			cls = "bold";
			len = 35;
		}
		if((name.length + ind*4) > len)
		{
			if(ind != 0)
				name = name.substr(0, len - ind*4) + "...";
			else 
				name = name.substr(0, len - (ind + 1)*4) + "...";
		}
		var tmpli = $('<li seriesid="'+e.ID+'" isselected="'+e.SELECTED+'" title="'+e.NAME+'"><div class="bulletNormal"></div><span class="'+cls+'" style="padding-left:'+ind * 20+'px; white-space:normal; overflow:hidden;">'+name+'</span></li>').click(function(){
			addSeries(e);	
			$(this).addClass("firstclick");
			}).hover(function(){
					var bg = $(this).css("backgroundColor");
					$(this).attr("bgColor",bg);
					if($(this).children(".bulletSelected").length > 0)
					{
						$(this).css({"background-color":"#FFF","border-color":bg,"color":bg}).children(".bulletSelected").css({"border-color":bg})
					}
				},function(){
					var bg = $(this).attr("bgColor");
					if($(this).children(".bulletSelected").length > 0 && ! $(this).hasClass("firstclick"))
					{
						$(this).css({"background-color":bg,"border-color":"#FFF","color":"#FFF"}).children(".bulletSelected").css({"border-color":"#FFF"});
					}
					$(this).removeClass("firstclick");
				}
			)
		$('#serieslist').append(tmpli)
	});	
	resizeChart();
	makeChart();
	$("li[isselected='Y']").each(function(index, element) {
		$(this).click();
	});
	
}
function getChartData(d)
{
	data = "fileName="+d;
	url = "/iTable/cfc/files/getChrtData.cfc?method=getChrtData"
	$.ajax({ 
		type: "POST", 
		url: url, 
		data:data,
		cache: false,	
		dataType: "text",
		success:function(data, textStatus, jqXHR)
		{
			loadAmChartsCallBack($.parseJSON(jqXHR.responseText.replace("//BEA", "")));
		},
		error:function(jqXHR, textStatus, errorThrown)
		{
			showMessage('<strong style="color:red;font-size:1em;">Error ! </strong> <br/>We were unable to complete your request. <br/>Please try again later.','warning',400,200);
		}
	});	
}

var currentMapHash;
var currentMapID;
function loadFusionMaps(hashcode)
{
	url = '/iTable/cfc/files/getMapData.cfc?method=getMapData&fileName='+hashcode;
	sendRequest(url,null,'loadFusionMapsCallBack','text',hashcode);	
}
function loadFusionMapsCallBack(result,hashcode)
{
	currentMapHash = hashcode;
	tempt = new Date();
	currentMapID  = tempt.getTime();
	var screenHeight = screen.height*.6 +'px';
	
	if($('#Final_Table_wraper').width() < screen.width)
		var swidth = $('#Final_Table_wraper').width()   - 10;
	else
		var swidth = screen.width - 10;
	
	$('#mapContainers').css('width', swidth);
	$('#mapContainers').css('height',screenHeight);  

	var renderWidth =  swidth - 100 +'px';
	
	$("#mapContainer").css('width', renderWidth);
	$("#mapContainer").css('height', screenHeight);
	
	try
	{
		var json = $.parseJSON(result);
		$("#mapContainer").css('width', swidth);
		loadAmMap(json, "mapContainer");
		togleChartTable('map');
		return;
	}
	catch(e){
		alert(e)	
	}
	
	var mapXmlDoc=parseXmlString(result);
	var mapAtr = mapXmlDoc.documentElement.attributes; 
	var mapName = "/FusionMaps/Maps/"+mapAtr.getNamedItem('swfPath').value;
	//var mapName = "/iTable/test/flash/FCMap_World.swf";

	map = new FusionMaps(mapName, currentMapID, renderWidth, screenHeight, "0", "1");
	map.setDataXML(result); 
	map.render("mapContainer");		
		
	//Render the exporter SWF in our DIV fcexpDiv
	myExportComponent = new FusionMapsExportObject("fcExporter1", "/FusionMaps/Maps/FCExporter.swf"); 
	myExportComponent.componentAttributes.bgColor = 'E7EEFD';    
	myExportComponent.componentAttributes.btnBorderColor = '666666';      
	myExportComponent.componentAttributes.btnColor = 'CCCCCC';       
	myExportComponent.componentAttributes.btnHeight = '22';    
	myExportComponent.componentAttributes.btnWidth = '80';             
	myExportComponent.componentAttributes.btnFontColor = '000000';   
	myExportComponent.componentAttributes.btnSaveTitle = 'Save Map'	
	myExportComponent.Render("fcexpDiv");
		
	//myExportComponent.debugMode = true;
	
	var swfVersionStr = "10.0.0";
	<!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
	var xiSwfUrlStr = "playerProductInstall.swf";
	var flashvars = {};
	var params = {};
	params.quality = "high";
	params.bgcolor = "#FFFFFF";
	params.allowscriptaccess = "always";
	params.allowfullscreen = "false";
	var attributes = {};
	attributes.id = "exportBtn";
	attributes.name = "exportBtn";
	attributes.align = "middle";
	swfobject.embedSWF
	(
		"/iTable/images/mapExportBtn/SaveMapBtn.swf", "saveMapButton", 
		"72", "52", 
		swfVersionStr, xiSwfUrlStr, 
		flashvars, params, attributes
	);
	<!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
	swfobject.createCSS("#saveMapButton", "display:block;text-align:center;");
	
	$('#saveMapButtonContainer').css('marginTop', 5);	
	
	togleChartTable('map');
}



function ExportMyMap()
{   
	mapObject = getMapFromId(currentMapID);            
	if(mapObject.hasRendered()) 
	mapObject.saveAsImage();     
}

function FC_ExportReady(DOMId)
{

	$( "#dialog:ui-dialog" ).dialog( "destroy" );
		
		$( "#saveMapContainer" ).dialog({
			height: 200,
			width:400,
			position:'center',
			modal: true,
			close: function(){closeSaveMapContainer()},
			buttons: {
				Close: function() {
					$( this ).dialog( "close" );
				}
			}
		});	
	$('#mapContainers').css("display", 'none');
	$('#mapPlaceHolder').css("display",'block');
	$("#exportMap_div").show();
}


function closeSaveMapContainer()
{
	$( "#saveMapContainer" ).dialog("close");
	$('#mapPlaceHolder').css("display",'none');
	$('#mapContainers').css("display",'block');
	//window.setTimeout(function() {showMap(currentMapHash, 'loadMap')},0);
}

function mapSavedHandler()
{
	closeSaveMapContainer();
}


// -----------------------------FILTER LIST FUNCTIONS -------------------------
var myfilter  = new Object();
function setFilter(elemName)
	{
		var txtElem = 'regexp'+elemName;
		if (!myfilter[elemName])
		{
		myfilter[txtElem] = $('#'+txtElem).val();;
		$('#'+txtElem).val('');
		myfilter[elemName] =  new Object();
		myfilter[elemName] = new filterlist($('#'+elemName)[0]);
		}
		//alert($('#regexp').value);
		else{
		if ($('#regexp'+elemName).val() == '' || $('#'+txtElem).val() == myfilter[txtElem])
		{
			myfilter[elemName] = new filterlist($('#'+elemName)[0]);
			$('#'+txtElem).val('');
			//alert(myfilter[elemName])
		}}
	
	}

//----------------------------------------------------------------------------------------------

//----------------------Open url functions ---------------------
function openUrl(url)
{
	window.location='http://www.bea.gov'+url;
}


function openUrlNew(url)
{
	window.open('http://www.bea.gov'+url,'mywindow')
}

//--------------------------------------------------------------------------------------


//--------------------pivot table functions ------------------------------------------------

var pivObj = new Object();

function showPivot(hashcode, el)
{
	togleChartTable('table');
	if (!this.pivObj.hashcode || this.pivObj.hashcode != hashcode)
		pivObj = new pivotObj(hashcode);

	if ($('#pivotTableSwitchLink').css('display') == 'block')
	{
		url = '/iTable/cfc/files/getPivotTable.cfc?method=parseTable&hashcode='+hashcode+'&tabletype=pivot';
		if(!this.pivObj.pivotTable)
			sendRequest(url,null,'pivotTableCallBackHandler',null, el)
			//this.pivObj.pivotTable=getPivotTable(hashcode,'pivot');
		else
			pivotTableCallBackHandler(this.pivObj.pivotTable,el)
	}
	else
	{
		url = '/iTable/cfc/files/getPivotTable.cfc?method=parseTable&hashcode='+hashcode+'&tabletype=normal';
		if(!this.pivObj.normalTable)
			sendRequest(url,null,'normalTableCallBackHandler',null, el)
			//this.pivObj.normalTable=getPivotTable(hashcode, 'normal');
		else
			normalTableCallBackHandler(this.pivObj.normalTable,el)
	}
}

function pivotObj(hashcode)
{
	this.hashcode = hashcode;
}


function pivotTableCallBackHandler(result,el)
{
	this.pivObj.pivotTable=result;
	$("#"+el).empty().html(result);
	$('#pivotTableSwitchLink').css('display','none');
	$('#normalTableSwitchLink').css('display','block');
	loadIcons();
}
function normalTableCallBackHandler(result,el)
{
	this.pivObj.normalTable = result;
	$("#"+el).empty().html(result);
	$('#pivotTableSwitchLink').css('display','block');
	$('#normalTableSwitchLink').css('display','none');	
	loadIcons();
}



/*--------------Check List Functions-------------------------------------------------------*/

var checkListElemsChanged = new Array();

function changeStyle(elem)
{
	if(elem.checked)
	{
		if (/MSIE (\d+\.\d+);/.test(navigator.userAgent))
		{
			elem.parentNode.setAttribute("className", "hover");
		}
		else
		{
			elem.parentNode.setAttribute("class", "hover");
		}
		
		checkListElemsChanged.push(elem);
	}
	else
	{
		if (/MSIE (\d+\.\d+);/.test(navigator.userAgent))
		elem.parentNode.setAttribute("className", "");
		else
		elem.parentNode.setAttribute("class", "");
		
		
		for(var i=0; i<checkListElemsChanged.length; i++)
		{
			if(checkListElemsChanged[i] == elem)
			{
				checkListElemsChanged.splice(i, 1);
			}
		}
	}
}

function resetCheckListStyles()
{
	
	for(var i=0; i<checkListElemsChanged.length; i++)
	{
		if(checkListElemsChanged[i].attributes['class']!='checkList_default_value')
		{
			if (/MSIE (\d+\.\d+);/.test(navigator.userAgent))	
				checkListElemsChanged[i].parentNode.setAttribute("className", "");
			else
				checkListElemsChanged[i].parentNode.setAttribute("class", "");
		}	
	}
	
	if(checkListElemsChanged.length >= 1)
	{
		checkListElemsChanged.splice(0, checkListElemsChanged.length);
	}
			
}

function getLink(textlink)
{

	togleChartTable('table');

	$('#tooltiptext').html('<div class="form-group"><textarea  wrap="hard" rows="4" id="link_container" class="form-control" selected="selected" readonly="readonly">'+decodeURIComponent(textlink)+'</textarea></div>'); 
	showDefinitions('Link to query...',195);
   $('#link_container').select();	
	
	
}

var changedElements;

function parentChangeEventHandler(parentElem)
{
	changedElements = new Array();
	//set paret var 
	parentElem=$(parentElem);
	// get dependent children for parent var
	var dependentChildren = parentElem.attr('dependentChildren').split(',');
	var parentValues = new Object();
	//loop through each child id
	for (i=0; i<dependentChildren.length; i++)
	{
		var elems = document.getElementsByName(dependentChildren[i]);
		
		for (s=0; s<elems.length; s++)
		{
			if(elems[s].getAttribute('promptID') && elems[s].getAttribute('promptParents'))
			{
				var elemParentsList = elems[s].getAttribute('promptParents').split(',');
				if(elemParentsList.indexOf(parentElem.attr('name')) != -1)
				{
					parentValues[parentElem.attr('name')] = parentElem.val();
					for (t=0;t<elemParentsList.length;t++)
					{
						if (elemParentsList[t] != parentElem.attr('name'))
						{
							var elemParents = document.getElementsByName(elemParentsList[t]);
							for (j = 0; j<elemParents.length; j++)
							{
								if(!parentValues[elemParents[j].name])
								{
									if(elemParents[j].type == 'radio')
									{
										if(elemParents[j].checked==true)
										{
											parentValues[elemParents[j].name] = elemParents[j].value;
										}
									}
									else
									{
										parentValues[elemParents[j].name] = elemParents[j].value;
									}
								}
								
							}
						}
					}
					var b = new Object();
					b.elems = elems[s];
					b.parentValues = parentValues;
					changedElements.push(b);
					elems[s].disabled=true;
					
				}
			}	
		}
	}
	window.setTimeout(function() {crossPromptCallBack()},0)
}


function crossPromptCallBack()  {

	for(n = 0; n<changedElements.length; n++)
	{
		var elem = changedElements[n].elems;
		parentValues=changedElements[n].parentValues;
		
		//var e = new crossPromptValidationProxy();
		//elem.disabled=true;
		
		promptID = elem.getAttribute('promptID');
		var result = synchCall('/iTable/cfc./crossPromptValidation.cfc?method=updatePrompt&promptID='+promptID+'&parentValues='+encodeURIComponent(JSON.encode(parentValues)));
		
		result=$.parseJSON(result);
		var elemName = elem.name;
		var promptid = elem.promptid;		
		if (result.STATUS == 'OK')
		{
			var newElem = result.DATA;
			newElem = $(elem.parentNode.parentNode).replaceWith(newElem);
			for (g =0; g<document.getElementsByName(elemName).length; g++)
			{
				if (document.getElementsByName(elemName)[g].promptid == promptid)
				newElem = document.getElementsByName(elemName)[g];
			}
			if(newElem.onchange)
			newElem.onchange();
		}
	}
}
function clearPageLocks()
{
	$(".ui-dialog-content").dialog("close");
}

</script>
  



<script type="text/javascript" src="/iTable/js/filterlist.js"></script>


<meta name="description" content="Official Bureau of Economic Analysis website. Source of US economic statistics including national income and product accounts (NIPAs), gross domestic product (GDP) and related measures of national, regional, industry and international accounts.">
<meta name="keywords" content="assets, balance of payments, commerce, GDP, goods and services, gross domestic product, gross state product, GSP, industry, input-output, investment, outlays, personal income, profits, statistics, trade">
<meta name="DC.LastModified" content="2010-12-23" />
<title>U.S. Bureau of Economic Analysis (BEA)</title>
<link rel="stylesheet" type="text/css" href="/iTable/styles/example_ie.css?v=1.0" media="screen">
<link rel="stylesheet" href="/iTable/styles/tableStyles.css" type="text/css?v=1.0" media="screen">

<link rel="stylesheet" type="text/css" href="/iTable/styles/jquery-override.css?v=1.0" media="screen">


</head>



<script>
function resizeTable (){}
</script>

<body class="interactive">
 
<!-- START:Header -->

<div id="header">
	<form class="search-form" id="search-form" action="//search.bea.gov/search" method="get" accept-charset="UTF-8">
		<div class="search-wrapper">
			<div class="search-textBox">
				<input name="query" class="search-input-text" id="search-textfield" type="text" autocomplete="off">
			</div>
			<div class="search-submitButton">
				<input name="commit" class="search-input-button" id="search-submit" type="submit" value="Go">
			</div>
		</div>
		<input name="utf8" type="hidden" value="&#x2713">
		<input name="affiliate" id="affiliate" type="hidden" value="u.s.bureauofeconomicanalysis">
	</form>
	<a class="bea-link" href="/index.htm"></a> <a class="doc-link" href="http://www.commerce.gov"></a>
</div>

<!--#include virtual="/_includes/header.ssi" --> 

	<div id="topTabs">
		<ul>
			<li id="home"><a href="/index.htm"><span>Home</span></a></li>
			<li id="national"><a href="/national/index.htm"><span>National</span></a></li>
			<li id="international"><a href="/international/index.htm"><span>International</span></a></li>
			<li id="regional"><a href="/regional/index.htm"><span>Regional</span></a></li>
			<li id="industry"><a href="/industry/index.htm"><span>Industry</span></a></li>
			<li id="interactive"><a href="/itable/"><span>Interactive Data</span></a></li>
			<li id="about" class="float-tab"><a href="/about/index.htm"><span>About BEA</span></a></li>
			<li id="faqs" class="float-tab"><a href="/faq/index.cfm"><span>FAQs</span></a></li>
			<li id="contact" class="float-tab"><a href="/contacts/search.htm"><span>Contact Us</span></a></li>
		</ul>
	</div>

<!--#include virtual="/_includes/header_tabs.ssi" --> 

 

<div id="bottomTabs">
	<div class="col-lg-12">
		<div class="pull-left" style="padding-right:6px;">
			<div class="data-title">National Data</div>
			<div class="btn-group"> <a  href="/iTable/index_nipa.cfm"
				
				class="btn btn-default"
				>GDP & Personal Income</a> <a  href="/iTable/index_FA.cfm"
				
				class="btn btn-default">Fixed Assets</a> </div>
		</div>
		<div class="pull-left" style="padding-right:6px;">
				<div class="data-title">Industry Data</div>
			<div class="btn-group">
				<a  href="/iTable/index_industry_gdpIndy.cfm"
				
				class="btn btn-default"
				>GDP-by-industry</a> 



				<a  href="/iTable/index_industry_io.cfm"
				
				class="btn btn-default"
				>Input-Output</a> </div>



		</div>
		<div class="pull-left" style="padding-right:6px;">
				<div class="data-title">International Data</div>
			<div class="btn-group">
				<a  href="/iTable/index_ita.cfm"
				
				class="btn btn-default"
				>Int'l Transactions, Services, &amp; IIP</a>
				
				
				<a  href="/iTable/index_MNC.cfm"
				
				class="btn btn-default"
				>Direct Investment & MNEs</a> </div>
		</div>
		<div class="pull-left">
				<div class="data-title">Regional Data</div>
			<div class="btn-group">
				<a  href="/iTable/index_regional.cfm"
				
				class="btn btn-default"
				>GDP & Personal Income</a> </div>
		</div>
	</div>
	<div class="clear"></div>
</div>

 

<div id="content">
<div class="mainContent_wrapper" style="background-color:#FFF;">
<div class="mainContent_wrapperRight">

<div class="user_tab">
		<div id="loginLinks">
			<?xml version="1.0" encoding="UTF-8"?>
<div class="resultgeno">
			<div class="btn-group btn-group-sm pull-right"><a class="btn btn-default user-out" href="login.cfm" id="login_link_div" onClick="javascript:showPrompt('login');return false">Sign In</a> <a class="btn btn-default" href="login.cfm?action=register" onClick="javascript:showPrompt('register'); return false">Register</a> <a class="btn btn-default" href="help_main.htm" onClick="getHelp('main'); return false;" target="_blank">Help</a> </div>
		</div>  </div>
</div>

<h1>Interactive Data 
	 
</h1>

			
			<h2>No Cookies!</h2>
			<br />
			<br />
			<div class="attentionNote_wrapper">
				<div class=attentionNote_header>
					<div class=attentionNote_headerRight></div>
				</div>
				<div class=attentionNote_content>
					<div class=attentionNote_contentRight><strong>Please Note:</strong> The Interactive Tables website uses cookies. Please enable cookies on your browser and try again.
					</div>
				</div>
				<div class=attentionNote_footer>
					<div class=attentionNote_footerRight></div>
				</div>

			</div>
			
			</div></div></div>






<div id="prompt_container" style="display:none;">
	
</div>


<div id="alert-modal" title="Alert" style="display:none">
	<div id="alertBody" style="text-transform:capitalize; padding-left:70px; background-repeat:no-repeat; padding-top:20px; min-height:67px; float:left; font-size:1.1em;"> </div>
</div>

<div id="saveMapContainer" style="display:none;" title="Save Map">
	<div class="formData">
		<div id="fcexpDiv"> </div>
	</div>
</div>



<div class="tooltip_content" id="tooltip_content">
		<div id="tooltiptext" style="font-size:.8em; text-align:justify;"> </div>
</div>

<div class="clear"></div>
<!-- end of content div -->
</div>
</div>
</div>
<div id="footer_wrapper">
	<div class="centerContent_wrapper">
		<div class="lastUpdate_wrapper">
			<div class="lastUpdate_wrapperRight"> 
				<script type="text/JavaScript" language="JavaScript">
					<!-- 
					// format date as dd-mmm-yy
					// example: 12-Jan-99
					function date_ddmmmyy(date){
						var d = date.getDate();
						var m = date.getMonth() + 1;
						var y = date.getYear();
					
						if(y >= 2000){y -= 2000;}
						if(y >= 100){y -= 100;}
					
						var mmm = ( 1==m)?'Jan':( 2==m)?'Feb':(3==m)?'Mar':( 4==m)?'Apr':( 5==m)?'May':(6==m)?'Jun':( 7==m)?'Jul':( 8==m)?'Aug':(9==m)?'Sep':(10==m)?'Oct':(11==m)?'Nov':'Dec';
					
						return "" + (d<10?"0"+d:d) + "-" + mmm + "-" + (y<10?"0"+y:y)
					;}
					
					function date_lastmodified(){
						var lmd = document.lastModified;
						var s   = "Unknown";
						var d1;
					
						if(0 != (d1=Date.parse(lmd))){s = "" + date_ddmmmyy(new Date(d1));}
						return s;
					}
					
					document.write( "Updated: " + date_lastmodified() );
					// -->
				</script> 
			</div>
		</div>
		<div class="footerLinks_shell">
			<div class="footerLinks_wrapper">
				<div class="columnLeft_wrapper" style="width:210px;">
					<ul class="topicMain">
						<li><a href="/contacts/search.htm">Contact Us</a></li>
						<li><a href="/faq/index.cfm">Frequently Asked Questions</a></li>
						<li><a href="/about/index.htm">About BEA</a></li>
						<li><a href="/about/policies.htm">Policies</a></li>
					</ul>
					<ul class="general_links">
						<li><a href="/about/Privacy_Statement.htm">Privacy Policy</a></li>
						<li><a href="/about/accessibility.htm">Accessibility</a></li>
						<li><a href="/_pdf/scientific_integrity_statement_of_the_principal_statistical_agencies.pdf">Commitment to Scientific Integrity</a></li>
						<li><a href="/about/infoqual.htm">Information Quality Guidelines</a></li>
						<li><a href="/about/BEAdissemination.htm">Data Dissemination Practices</a></li>
						<li><a href="/data.htm">Open Data</a></li>
						<li><a href="/status/index.cfm">ESR System</a></li>
						<li><a href="http://www.usa.gov/">USA.gov</a></li>
						<li><a href="http://www.commerce.gov/">COMMERCE.gov</a></li>
					</ul>
				</div>
				<div class="columnLeft_wrapper">
					<ul>
						<li class="title">News</li>
						<li><a href="/newsreleases/glance.htm">U.S. Economy at a Glance</a></li>
						<li><a href="/newsreleases/rels.htm">Current Releases</a></li>
						<li><a href="/newsreleases/release_archive.htm">News Release Archive</a></li>
					</ul>
				</div>
				<div class="columnLeft_wrapper">
					<ul>
						<li class="title">Information For...</li>
						<li><a href="/newsroom/index.htm">Media</a></li>
						<li><a href="/congressional/index.htm">Congressional Users</a></li>
						<li><a href="/efile/">eFile Users</a></li>
						<li><a href="/surveys/respondent_be13.htm">BE-13 Respondents</a></li>
						<li><a href="/surveys/privatefunds">Private Fund Reporters</a></li>
						<li><a href="/jobs/index.htm">Job Seekers</a></li>
					</ul>
				</div>
				<div class="columnLeft_wrapper">
					<ul>
						<li class="title">Factsheets</li>
						<li><a href="/regional/bearfacts/">Regional PI &amp; GDP</a></li>
						<li><a href="/international/factsheet/">Int'l Trade &amp; Investment</a></li>
					</ul>
				</div>
				<div class="columnLeft_wrapper">
					<ul>
						<li class="title">Publications</li>
						<li><a href="/scb/index.htm"><em>Survey of Current Business</em></a></li>
						<li><a href="/research/by_topic.htm">Papers by Topic</a></li>
						<!--<li><a href="/agency/pdf/BEA_Customer_Guide.pdf">BEA Customer Guide</a></li>-->
					</ul>
				</div>
				<div class="columnLeft_wrapper">
					<ul>
						<li class="title">Resources</li>
						<li><a href="/itable/index.cfm">Interactive Data</a></li>
						<li><a href="/research/index.htm">Research at BEA</a></li>
						<li><a href="/developers/">Developers</a></li>
						<li><a href="/video/index.htm">Multimedia</a></li>
						<li><a href="/faq/index.cfm">FAQs</a></li>
					</ul>
				</div>
				<div class="columnLeft_wrapper">
					<ul>
						<li class="title">More</li>
						<li><a href="/about/director.htm">Director's Page</a></li>
						<li><a href="/agency/exhibit_schedule.htm">Conferences</a></li>
						<li><a href="/about/BEAciting.htm">Guidelines for Citing BEA Information</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>
	<!--Analytics --> 
	
	<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-37717925-1', 'auto');
  ga('send', 'pageview');

</script> 
	<script type="text/javascript" src="/_scripts/uaevents.js"></script> 
	<script type="text/javascript">
//<![CDATA[
      var usasearch_config = { siteHandle:"u.s.bureauofeconomicanalysis" };
      var script = document.createElement("script");
      script.type = "text/javascript";
      script.src = "//search.usa.gov/javascripts/remote.loader.js";
      document.getElementsByTagName("head")[0].appendChild(script);

//]]>
</script>

</div>
</body></html> 